<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_debug.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xplmi__debug_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xplmi_debug.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This is the file which contains uart initialization code for the PLM. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
1.00  kc   07/13/2018 Initial release
1.01  ma   08/01/2019 Added LPD init code
1.02  ana  11/26/2019 Updated Uart Device ID
      kc   01/16/2020 Removed xilpm dependency in PLMI for UART
      ma   02/18/2020 Added support for logging terminal prints
      ma   03/02/2020 Implement PLMI own outbyte to support logging as well
      bsv  04/04/2020 Code clean up
1.03  kc   07/28/2020 Moved LpdInitialized from <a class="el" href="xplmi__debug_8c.html" title="This is the file which contains uart initialization code for the PLM. ">xplmi_debug.c</a> to <a class="el" href="xplmi_8c.html" title="This file contains the PLMI module register functions. ">xplmi.c</a>
      bm   10/14/2020 Code clean up
      td   10/19/2020 MISRA C Fixes
1.04  bm   02/01/2021 Add XPlmi_Print functions using xil_vprintf
      ma   03/24/2021 Store DebugLog structure to RTCA
      ma   03/24/2021 Print logs to memory when PrintToBuf is TRUE
      td   05/20/2021 Support user configurable uart baudrate
1.05  td   07/08/2021 Fix doxygen warnings
      bsv  07/16/2021 Fix doxygen warnings
      bsv  08/02/2021 Code clean up to reduce size
      bm   08/12/2021 Added support to configure uart during run-time
      rb   08/11/2021 Fix compilation warnings
      bsv  09/05/2021 Disable prints in slave boot modes in case of error
1.06  am   11/24/2021 Fixed doxygen warning
1.07  skd  04/21/2022 Misra-C violation Rule 8.3 fixed
1.08  bm   07/06/2022 Refactor versal and versal_net code
1.09  sk   11/09/2022 Added Timeout settings info for JTAG_SBI Bootmode
      ng   03/30/2023 Updated algorithm and return values in doxygen comments
1.10  ng   07/06/2023 Added support for SDT flow
      pre  14/12/2023 Fixed compilation warnings</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7074352326bac9f81a27eb1896c15801"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga7074352326bac9f81a27eb1896c15801">XPlmi_InitUart</a> (void)</td></tr>
<tr class="memdesc:ga7074352326bac9f81a27eb1896c15801"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the PS UART.  <a href="group__xilplmi__server__apis.html#ga7074352326bac9f81a27eb1896c15801">More...</a><br/></td></tr>
<tr class="separator:ga7074352326bac9f81a27eb1896c15801"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51cdb30d3f7194a797cbe30886428a9b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga51cdb30d3f7194a797cbe30886428a9b">XPlmi_ConfigUart</a> (u8 UartSelect, u8 UartEnable)</td></tr>
<tr class="memdesc:ga51cdb30d3f7194a797cbe30886428a9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the PS UART base address.  <a href="group__xilplmi__server__apis.html#ga51cdb30d3f7194a797cbe30886428a9b">More...</a><br/></td></tr>
<tr class="separator:ga51cdb30d3f7194a797cbe30886428a9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05aef7037486274b220f118ecc87aab7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga05aef7037486274b220f118ecc87aab7">outbyte</a> (char c)</td></tr>
<tr class="memdesc:ga05aef7037486274b220f118ecc87aab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints and logs the terminal prints to debug log buffer.  <a href="group__xilplmi__server__apis.html#ga05aef7037486274b220f118ecc87aab7">More...</a><br/></td></tr>
<tr class="separator:ga05aef7037486274b220f118ecc87aab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b28c3907e83a63bf43adaa1f5a545e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga2b28c3907e83a63bf43adaa1f5a545e9">XPlmi_Print</a> (u16 DebugType, const char8 *Ctrl1,...)</td></tr>
<tr class="memdesc:ga2b28c3907e83a63bf43adaa1f5a545e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints debug messages with timestamp.  <a href="group__xilplmi__server__apis.html#ga2b28c3907e83a63bf43adaa1f5a545e9">More...</a><br/></td></tr>
<tr class="separator:ga2b28c3907e83a63bf43adaa1f5a545e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
